package com.lzh.edu.service;

import com.lzh.edu.entity.Chapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lzh.edu.vo.course.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author lizuhu
 * @since 2021-04-24
 */
public interface ChapterService extends IService<Chapter> {

    List<ChapterVo> getChapterByCourseId(String courseId);

    Boolean deleteChapterById(String chapterId);

    Boolean removeCourseById(String id);
}
